<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./layui/css/layui.css">
    <script src="./js/js.js"></script>
    <script src="./layui/layui.js"></script>
    <script src="./js/jquery-1.9.1.min.js"></script>
</head>

<style>
    body {
        height: 100vh;
        max-width: 750px;
        margin: 0 auto;
        position: relative;
    }



    .topimg {
        width: 100%;
        height: 26rem;
        background: url('./img/组\ 73.png');
        background-size: 100% 100%;
        box-sizing: border-box;
        padding: 1rem;
        display: flex;
    }

    .arrow {
        width: 1.5rem;
        height: 1rem;
        margin-top: 0.5rem;
    }

    .title {
        color: white;
        font-size: 1.8rem;
        margin-left: 41%;
    }


    .inputbox {
        margin-top: 4rem;
        box-sizing: border-box;
        padding: 0 3rem;
        position: relative;
        display: flex;
        align-items: center;
    }

    .inputbox2 {
        margin-top: 2rem;
        box-sizing: border-box;
        padding: 0 3rem;
        position: relative;
        display: flex;
        align-items: center;
    }

    .input1 {
        width: 100%;
        height: 4.3rem;
        border-radius: 2rem;
        border: none;
        background-color: #feefec;
        position: relative;
        box-sizing: border-box;
        padding-left: 4rem;
        font-size: 1.4rem;
    }

    .account_icon {
        width: 1.5rem;
        position: absolute;
        top: 1.2rem;
        left: 4.5rem;
    }

    .code {
        position: absolute;
        right: 3.5rem;
        width: 9.5rem;
        height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2rem;
        background-color: #fcc3b8;
        color: #ef591e;
        border: none;
    }

    .loginbox {
        margin-top: 4rem;
        box-sizing: border-box;
        padding: 0 3rem;
    }

    .login {
        width: 100%;
        height: 4.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        background-color: #e8472e;
        border-radius: 4rem;
        border: none;
        font-size: 1.8rem;
    }

    .footer {
        font-size: 1.3rem;
        position: absolute;
        bottom: 1rem;
        left: 35%;
    }

    .dialog {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    .layui-layer {
        width: 100% !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }
</style>

<body>
    <div class="topimg">
        <img class="arrow" src="./img/arrow.png" alt="">
        <div class="title">登陆</div>
    </div>
    <!-- <img class="topimg" src="./img/组 73.png" alt=""> -->

    <div class="inputbox">
        <input class="input1" type="text" placeholder="请输入你的手机号" />
        <img class="account_icon" src="./img/account.png" alt="">
    </div>
    <div class="inputbox2">
        <input class="input1" type="text" placeholder="请输入验证码" />
        <img class="account_icon" src="./img/password.png" alt="">
        <button class="code">获取验证码</button>
    </div>
    <div class="loginbox">
        <button class="login">立即登陆</button>
    </div>
    <div class="footer">中国电信安徽分公司</div>


    <img class="dialog" style="display: none;" src="./img/dialog1.png" alt="">
</body>


<script>
    $(document).ready(function () {
        $('.loginbox').click(function () {
            window.location.href = './question.html'
        })

        layui.use(['layer'], function () {
            var layer = layui.layer
            window.onload = function () {
                layer.open({
                    type: 1,
                    content: $('.dialog'),
                    skin: 'no_bg',
                    title: false,
                    closeBtn: 0,
                    shade: 0.5,
                    shadeClose: true
                });
            }
        })
    })

</script>

</html>